muvm: init from krun as 0.4.1; libkrunfw: 4.5.1 -> 4.9.0; libkrun: 1.9.8 -> 1.11.2#397932
muvm: init from krun as 0.4.1; libkrunfw: 4.5.1 -> 4.9.0; libkrun: 1.9.8 -> 1.11.2#397932RossComputerGuy merged 8 commits intoNixOS:masterfrom
Conversation
|
|
Doesn't work on my Ampere or M1 Pro but works on the community x86_64 box. |
|
Yeah the out of bounds error for me only happens on latest nixpkgs, when I base my PR on top of nixpkgs I'm using in my config it works fine. Will investigate |
|
Ok, that probably explains why. It feels like muvm only uses graphics when the host has it. Since the community x86_64 box doesn't have graphics configured, it's not a problem. Both my aarch64 systems have graphics configured so that's causing the problem. I won't consider that a blocker. |
|
DO NOT MERGE UNTIL AsahiLinux/muvm#168 IS MERGED UPSTREAM (should be soon) Also @RossComputerGuy Re: gpu worker panicking - that's expected because muvm currently doesn't handle headless mode super gracefully, but it works just fine. Even if you do get that panic you can use muvm as expected. The issue was the out-of-bounds read in the dhcp implementation. |
|
If you want to test muvm replace the source rev with |
Previously the pkgconfig and include dirs were mistakenly moved into $dev/lib/pkgconfig/pkgconfig and $dev/include/include, which was breaking packages which depended on libkrun through pkg-config
Co-authored-by: Tristan Ross <[email protected]>
|
The PR is now ready for review, testing, and merging :) |
|
muvm works on my Ampere system! |
|
Oh yeah, 1 thing is missing. Add a throw noting that krun was renamed to muvm in |
|
I'll just add the alias myself. 🙃 |
Things done
Bumped libkrun, libkrunfw, and muvm. Muvm now also ships with an init script that sets up
/run/current-systemand/run/opengl-driver. In the future we'll also need to set up/run/wrappersfor FEX to work with RootFS, but that's not strictly necessary so I'll leave it out of this PR.Supersedes #347792
cc @RossComputerGuy
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.